package com.lft.com.oilgas.service.impl;

import com.lft.com.oilgas.entity.CommodityRole;
import com.lft.com.oilgas.mapper.CommodityRoleMapper;
import com.lft.com.oilgas.service.ICommodityRoleService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author tyqw
 * @since 2024-09-10
 */
@Service
public class CommodityRoleServiceImpl implements ICommodityRoleService {
    @Autowired
    private CommodityRoleMapper commodityRoleMapper;

    @Override
    public List<CommodityRole> selectAll() {
        return commodityRoleMapper.selectList(null);
    }
}
